﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Configuration;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using WeChat.Common;
using BLL;
using System.IO;
namespace WeChat.HyfPay.Hyflib
{
    public class HyfConfig
    {

        //public static string version = "V003";
        //public static string organNo = "44019414";
        //public static string hicardMerchNo = "104403573200119";
        //public static string Key = "6407a55aaded43a6ae745c21007e169d";
        //HyfAddBLL hb = new HyfAddBLL();
        //DataTable dt = hb.getall();
        static DataTable dt = HyfAddBLL.getall();
        public static string version = dt.Rows[0]["version"].ToString();
        public static string organNo = dt.Rows[0]["organNo"].ToString();
        public static string hicardMerchNo = dt.Rows[0]["hicardMerchNo"].ToString();
        public static string Key = dt.Rows[0]["key"].ToString();

    }
}